package sm.upgrade.converter;

import java.util.Map;

import sm.dam.api.Converter;
import sm.util.Util;

public class CharacterToLogicalConverter implements Converter {

	@Override
	public Object convert(Object value, Map<String, Object> owner) {
		Object newValue = value;
		if (value instanceof String) {
			String stringValue = (String) value;
			newValue = Util.characterToLogical(stringValue);
		}

		return newValue;
	}

}
